package com.nongtai.pojo.vo;

import com.nongtai.pojo.entity.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 二级分类vo
 * @author yza
 * @version 1.0
 * @date 2024/6/18 16:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SubCategoryVo implements Serializable {
    private Long id;
    private String name;
    private String picture;
    private Long parentId;
    private String parentName;
    private List<GoodsVo> goods = new ArrayList<>();
}
